//
//  MyCollectionViewCell.m
//  UI_豆瓣影院
//
//  Created by dllo on 16/1/5.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatCell];
    }
    return self;
}
- (void)dealloc {
    [_imageview release];
    [_lable release];
    [super dealloc];
    
}

- (void)creatCell {
    self.imageview = [[UIImageView alloc] init];
    [self.contentView addSubview:_imageview];
    [_imageview release];
    self.lable = [[UILabel alloc] init];
    [self.contentView addSubview:_lable];
    [_lable release];
}
- (void)layoutSubviews {
    [super layoutSubviews];
    _imageview.frame = CGRectMake(0, 0, 110, 100);
    
    _lable.frame = CGRectMake(0, 100, 110, 40);
    
    
}

@end
